﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Data;
using System.Data.Entity;
using Vit.Web.Models;
using Vit.Web.Extensions;
using Vit.Web.Helpers;

namespace Vit.AdminModule.Areas.Admin.Providers
{
    public class WebProvidersDb : DbContext
    {
        public DbSet<Portal> Portals { get; set; }
        public DbSet<WebSite> Sites { get; set; }
        public DbSet<WebPage> Pages { get; set; }
        public DbSet<User> Users { get; set; }
        public DbSet<Role> Roles { get; set; }
        public DbSet<NavigationGroup> NavigationGroups { get; set; }
        public DbSet<NavigationItem> NavigationItems { get; set; }
        public DbSet<FriendlyUrl> FriendlyUrls { get; set; }
        public DbSet<DataSourceCategory> DataSourceCategories { get; set; }
        public DbSet<DataSourceItem> DataSourceItems { get; set; }
        public DbSet<LocalizationItem> Localization { get; set; }
        public DbSet<ModuleInfo> Modules { get; set; }

        public DbSet<CategoryItem> Categories { get; set; }
        public DbSet<CategoryProperty> CategoryProperties { get; set; }
        public DbSet<CategoryPropertyValue> CategoryPropertyValues { get; set; }

        public DbSet<ObjectRelation> ObjectRelations { get; set; }
        public DbSet<Track> Tracks { get; set; }
        public DbSet<Tag> Tags { get; set; }
        public DbSet<TagObject> TagObjects { get; set; }

        public DbSet<Log> Logs { get; set; }
    }
}
